<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class ReportPartnerGame
 * 
 * @property int $id
 * @property int $hall_id
 * @property \Carbon\Carbon $date
 * @property int $user_id
 * @property string $username
 * @property int $partner_id
 * @property string $partner_name
 * @property int $game_type
 * @property int $bet_times
 * @property int $bet_amount
 * @property int $validbet
 * @property int $prize
 * @property int $profit
 * @property int $bonus_amount
 * @property int $contribute_amount
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class ReportPartnerGame extends Eloquent
{
	protected $table = 'report_partner_game';

	protected $casts = [
		'hall_id' => 'int',
		'user_id' => 'int',
		'partner_id' => 'int',
		'game_type' => 'int',
		'bet_times' => 'int',
		'bet_amount' => 'int',
		'validbet' => 'int',
		'prize' => 'int',
		'profit' => 'int',
		'bonus_amount' => 'int',
		'contribute_amount' => 'int'
	];

	protected $dates = [
		'date'
	];

	protected $fillable = [
		'hall_id',
		'date',
		'user_id',
		'username',
		'partner_id',
		'partner_name',
		'game_type',
		'bet_times',
		'bet_amount',
		'validbet',
		'prize',
		'profit',
		'bonus_amount',
		'contribute_amount'
	];
}
